package intface;

public class intface2 implements intface1 {
    private int a;
    private int b;
    public String k() {
        System.out.println("成功");
        return "YES";
    }
    public intface2(int a,int b)
    {
        this.a=a;
        this.b=b;
    }

    public int getA() {
        return a;
    }

    public int getB() {
        return b;
    }
}
